<?php

namespace app\logic\F6DataAnalysis;

class DataAnalysis
{
    private $obj;

    public function __construct(DataBaseInterface $base)
    {
        $this->obj = $base;
    }

    public function analysis($data, $vin = '', $room_Info= [])
    {
        return $this->obj->analysis($data, $vin, $room_Info);
    }

    public function buildMsg($vin, $car_name, $show)
    {
        return $this->obj->buildMessage($vin, $car_name, $show);
    }
}